package com.lgx.common.web;

import java.io.Serializable;
import java.util.List;

/**
 * 分页
 * 
 * @author acer
 *
 */
public class Pagination implements Serializable {

	private static final long serialVersionUID = -8044051786862686667L;

	private int total;   //总记录数
	
	private int pageSize;  //每页显示的条数
	
	private int pageNum;    //当前页码
	
	private int currentPage;
	
	private int totalPage;   //总页数
	
	private List<?> rows;

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public List<?> getRows() {
		return rows;
	}

	public void setRows(List<?> rows) {
		this.rows = rows;
	}
}
